page{
  background-color: rgb(245, 245, 245);
}
.header {
  position: relative;
  display: flex;
  // align-items: center;
  justify-content:start;
  width: 100vw;
  height: 400rpx;
  background-color: #ff231f;
  border-bottom-left-radius: 10%;
  border-bottom-right-radius: 10%;
  .headr-img{
    margin-top: 80rpx;
    margin-left: 20rpx;
    width: 90rpx;
    height: 90rpx;
    image{
      width: 100%;
      height: 100%;
      overflow: hidden;
    }
  }
  .headr-input{
    margin-top: 80rpx;
    width: 450rpx;
    height: 100rpx;
    .header-text{
      width: 100%;
      height: 100%;
    }
  }
}
.carousel{
  position: absolute;
  top: 180rpx;
  left: 20rpx;
  width: 710rpx;
  height: 350rpx;
  swiper{
    width: 100%;
    height: 100%;
    swiper-item{
      image{
        width: 100%;
        height: 100%;
        overflow: hidden;
      }
    }
   
  }
}
.content{
  margin: 150rpx auto;
  width: 710rpx;
  height: 335rpx;
  // border: 1px solid #000;
  .content-top{
    width: 100%;
    height: 50rpx;
    // border: 1px solid #000;
    display: flex;
    justify-content: space-between;
    .content-top-box{
      display: flex;
      align-items: center;
      justify-content: center;
      width: 200rpx;
      height: 100%;
      span{
        margin-left: 10rpx;
        font-size: 25rpx;
        color: red;
        font-weight: 600;
      }
    }
  }
  .content-button{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; /* 允许换行 */
    margin-top: 20rpx;
    width: 100%;
    height: 380rpx;
    background-color: #fff;
    border-radius: 5%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 .content-button-title{
  flex: 0 0 20%;
  margin-top: 30rpx;
  display: flex;
  flex-direction: column;
  align-items: center;
   width: 150rpx;
   height: 160rpx;
   .content-title-image{
    width: 110rpx;
    height: 110rpx;
    background: linear-gradient(45deg, #ffd799, #f5bd44); /* 渐变色 */
   border-radius: 15%;
    image{
      width: 100%;
      height: 100%;
      overflow: hidden;
    }
   }
   .content-title-text{
     margin-top: 10rpx;
     width: 140rpx;
     height: 30rpx;
    font-size: 25rpx;
    text-align: center;
   }
 }
 .content-button-title:nth-child(n+6) {
  margin-top: 0;
}
  }
}
.contents{
  margin-bottom: 60rpx;
  .module{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10rpx;
    width: 100vw;
    height: 100vh;
    .module-box{
      margin-top: 20rpx;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      align-items: stretch;
      width: 350rpx;
      height: 525rpx;
      background-color: #fff;
      border-radius: 5%;
      .module-box-image{
        background-color: #fbfbfb;
        width: 350rpx;
        height: 320rpx;
        image{
          width: 100%;
          height: 100%;
          overflow: hidden;
        }
      }
      .module-box-text{
        margin-left: 20rpx;
        font-size: 30rpx;
      }
      .module-box-price{
        margin-left: 20rpx;
        font-size: 30rpx;
        font-weight: 600;
        color: #ff5933;
      }
      .module-box-title{
        margin-bottom: 15rpx;
        margin-left: 20rpx;
        text-align: center;
        width: 280rpx;
        font-size: 25rpx;
        color: #b2b2b2;
        border: 1px solid #b2b2b2;
      }
      }
    }
}


